<?php /* Smarty version Smarty-3.0.7, created on 2017-06-01 09:24:59
         compiled from "C:\wamp\www\gongzhonghao.yuanfenba.net/modules/admin/tpl/wechat/modify.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14215592f6cebb46393-62143577%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9684ac7e55d6e8b4c61e3acd3f60664b1cd35fa6' => 
    array (
      0 => 'C:\\wamp\\www\\gongzhonghao.yuanfenba.net/modules/admin/tpl/wechat/modify.tpl',
      1 => 1496280090,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '14215592f6cebb46393-62143577',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>

<link href="/css/bootstrap-switch.min.css" rel="stylesheet" media="screen">
<script src="/js/bootstrap-switch.min.js"></script>

<link rel="stylesheet" href="/css/skins/square/blue.css"/>
<script src="/js/icheck.min.js"></script>

<form rel="ajax" method="post" action="/admin/wechat/modify" enctype="multipart/form-data" class="form-horizontal" role="form">

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">公众号名称</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[name]" value="<?php echo $_smarty_tpl->getVariable('info')->value['name'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">简介</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[intro]" value="<?php echo $_smarty_tpl->getVariable('info')->value['intro'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">二维码</label>
        <div class="col-sm-5">
            <input type="file" name="pic"/>
            <img class="avatar-img" src="<?php echo Service_Attach::getInstance()->getThumbUrl($_smarty_tpl->getVariable('info')->value['qrcode'],100,100);?>
" style="height: 100px;"/>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">公司主体</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[company]" value="<?php echo $_smarty_tpl->getVariable('info')->value['company'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">运营者</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[operator]" value="<?php echo $_smarty_tpl->getVariable('info')->value['operator'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">运营者身份证号</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[card]" value="<?php echo $_smarty_tpl->getVariable('info')->value['card'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">运营者电话号码</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[mobile]" value="<?php echo $_smarty_tpl->getVariable('info')->value['mobile'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">认证状态</label>
        <div class="col-sm-5">
            <select name="wechat[status]">
                <option value="1" <?php if ($_smarty_tpl->getVariable('info')->value['status']==1){?>selected="selected"<?php }?>>已认证</option>
                <option value="2" <?php if ($_smarty_tpl->getVariable('info')->value['status']==2){?>selected="selected"<?php }?>>未认证</option>
            </select>
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">域名</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[domain]" value="<?php echo $_smarty_tpl->getVariable('info')->value['domain'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">域名名称</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[domain_name]" value="<?php echo $_smarty_tpl->getVariable('info')->value['domain_name'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">维护人员</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[sevicer]" value="<?php echo $_smarty_tpl->getVariable('info')->value['sevicer'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">appid</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[appid]" value="<?php echo $_smarty_tpl->getVariable('info')->value['appid'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">appsecret</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[appsecret]" value="<?php echo $_smarty_tpl->getVariable('info')->value['appsecret'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">encodingaeskey</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[encodingaeskey]" value="<?php echo $_smarty_tpl->getVariable('info')->value['encodingaeskey'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">令牌</label>
        <div class="col-sm-5">
            <input type="text" name="wechat[token]" value="<?php echo $_smarty_tpl->getVariable('info')->value['token'];?>
" class="form-control" />
        </div>
    </div>

    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">&nbsp;</label>
        <div class="col-sm-3">
            <input type="hidden" name="id" value="<?php echo $_GET['id'];?>
"/>
            <button type="submit" class="btn btn-primary">提交</button>
        </div>
    </div>
</form>

<?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>